package main

import (
	"net/http"
	"test/http/frame/middleWare"
	"test/http/frame/router"
)

func main() {
	// 路由加载
	r := router.Load()

	// 中间件
	m := middleWare.NewMiddleWare(r)

	http.ListenAndServe(":8888",m)
}
